package com.ydj.constants;

public interface PingPongConstant {
    /**
     * init log
     */
    public static final int STATUS_INIT = 0;
    /**
     * ping send fail，cause rate limit
     */
    public static final int STATUS_RATE_LIMITED = 2;
    /**
     * send ok. pong server response 200 status
     */
    public static final int STATUS_RESP_OK = 3;
    /**
     * pong server response fail.cause throttling control
     */
    public static final int STATUS_RESP_429 = 4;
    /**
     * other error. like pong server shutdown,404 status.
     */
    public static final int STATUS_RESP_OTHER = 5;
}
